//
//  IGAddOrderApi.m
//  jingdongfang
//
//  Created by MTiMac01 on 2017/9/21.
//  Copyright © 2017年 LJL. All rights reserved.
//

#import "IGAddOrderApi.h"

@implementation IGAddOrderApi
- (YTKRequestMethod)requestMethod
{
    return YTKRequestMethodPOST;
}

- (NSString *)requestUrl
{
    return @"works/works!addOrder.action";
}

- (id)requestArgument
{
    return @{
             @"worksId" : _worksId,
             @"uId" : [IGUser getUid],
             @"orderId": _orderId?:@""
             };
}

- (BOOL)isNeedHub
{
    return YES;
}

- (BOOL)isHttps {
    return YES;
}

@end

@implementation IGAddOrderModel
+ (BOOL)propertyIsOptional:(NSString *)propertyName
{
    return YES;
}
@end

@implementation IGAddOrderResp

@end


